export default{
    inserted(el,bindings,vnode){
        let btnPermisssionValue = bindings.value;
        let power = JSON.parse(window.sessionStorage.getItem("power"));
        let isTrue = power[btnPermisssionValue];
        if(isTrue===0||isTrue==null){
            // el.remove(el);
            // el.setAttribute("disabled",true);
            el.disabled="disabled";
            // el.setAttribute('class','is-disabled');
            el.classList.add('is-disabled');
            console.log(el);
        }
    }
}
